﻿using System;
namespace CaiBaby.Model
{
	/// <summary>
	/// 公告
	/// </summary>
	[Serializable]
	public partial class Notice
	{
		public Notice(){}
		#region Model
		private int _id;
		private string _contents="‘’";
		private string _pic="";
		private int _thetype=0;
		private int _mid=0;
		private DateTime _createtime= DateTime.Now;
		/// <summary>
		/// ID
		/// </summary>
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 内容
		/// </summary>
		public string Contents
		{
			set{ _contents=value;}
			get{return _contents;}
		}
		/// <summary>
		/// 展示图片的路径
		/// </summary>
		public string Pic
		{
			set{ _pic=value;}
			get{return _pic;}
		}
		/// <summary>
		/// 类型 0为公告 1为活动
		/// </summary>
		public int TheType
		{
			set{ _thetype=value;}
			get{return _thetype;}
		}
		/// <summary>
		/// 发布管理员ID
		/// </summary>
		public int MId
		{
			set{ _mid=value;}
			get{return _mid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime CreateTime
		{
			set{ _createtime=value;}
			get{return _createtime;}
		}
		#endregion Model
	}
}

